package com.yuxi.Dao.Impl;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.yuxi.Dao.InformationMapSourceDao;
import com.yuxi.Entity.InformationMapSource;
import com.yuxi.Entity.UserInfo;

@Repository
public class InformationMapSourceDaoImpl extends BaseDaoImpl<Serializable, Serializable> implements InformationMapSourceDao {
	private Logger logger=LoggerFactory.getLogger(InformationMapSourceDaoImpl.class);
	public InformationMapSourceDaoImpl(){
		super(InformationMapSource.class);
	} 
	@Override
	public InformationMapSource getSortByInfoId(Integer id) {
		// TODO Auto-generated method stub
		return (InformationMapSource)super.get(id);
	}

	@Override
	public InformationMapSource addSource(InformationMapSource s) {
		// TODO Auto-generated method stub
		return (InformationMapSource) super.addAndReturn(s);
	}

	@Override
	public void modify(InformationMapSource s) {
		// TODO Auto-generated method stub
		super.update(s);
	}

	@Override
	public void deleteSource(InformationMapSource s) {
		// TODO Auto-generated method stub
		super.delete(s);
	}

}
